package org.zcl.config;

import feign.FeignException;
import feign.Response;
import feign.codec.Decoder;

import java.lang.reflect.Type;

/**
 * @Package org.zcl.config
 * @PROJECT_NAME: question
 * @DESCRIPTION:
 * @USER: zhuchenglin
 * @DATE: 2022/1/26 15:15
 */
public class MyDecoder implements Decoder {
    @Override
    public Object decode(Response response, Type type) throws FeignException {
        return "MyDecoder decode response=" + response + ",type=" + type;
    }
}
